<?php
/**
 * @version $Id: setupGeSHiForJ.php 96 2010-12-16 22:13:17Z der.el.kuku $
 * @package
 * @subpackage
 * @author		Nikolai Plath (elkuku) {@link http://www.nik-it.de NiK-IT.de}
 * @author		Created on 09-Feb-2009
 */

//-- No direct access
defined('MEDIAWIKI') or die('=;)');

/**
 * Joomla Classes for GeSHi
 * @param $geshi object GeSHi
 * @return void
 */
function setupGeSHiForJoomla($geshi, $uri='http://test2.nik/jmediawiki_mediawiki/index.php/Joomla!_Programmierung/Framework/')
{
	$JClasses = array('JFrameworkConfig', 'JFactory', 'JRoute', 'JText', 'JApplication', 'JController'
	, 'JComponentHelper', 'JModel', 'JView', 'JApplicationHelper', 'JMenu', 'JModuleHelper', 'JPathway', 'JRouter'
	, 'JTree', 'JNode', 'JCache', 'JCacheCallback', 'JCacheOutput', 'JCachePage', 'JCacheView', 'JCacheStorage'
	, 'JCacheStorageApc', 'JCacheStorageEaccelerator', 'JCacheStorageFile', 'JCacheStorageMemcache'
	, 'JCacheStorageXCache', 'JFTP', 'JClientHelper', 'JLDAP', 'JDatabase', 'JDatabaseMySQL', 'JDatabaseMySQLi'
	, 'JRecordSet', 'JTable', 'JTableARO', 'JTableAROGroup', 'JTableCategory', 'JTableComponent', 'JTableContent'
	, 'JTableMenu', 'JTableMenuTypes', 'JTableModule', 'JTablePlugin', 'JTableSection', 'JTableSession', 'JTableUser'
	, 'JDocument', 'JDocumentError', 'JDocumentFeed', 'JFeedItem', 'JFeedEnclosure', 'JFeedImage'
	, 'JDocumentRendererAtom', 'JDocumentRendererRSS', 'JDocumentHTML', 'JDocumentRendererComponent'
	, 'JDocumentRendererHead', 'JDocumentRendererMessage', 'JDocumentRendererModule', 'JDocumentRendererModules'
	, 'JDocumentPDF', 'JDocumentRAW', 'JBrowser', 'JResponse', 'JURI', 'JError', 'JException', 'JLog', 'JProfiler'
	, 'JDispatcher', 'JArchive', 'JArchiveBzip2', 'JArchiveGzip', 'JArchiveTar', 'JArchiveZip', 'JFile', 'JFolder'
	, 'JPath', 'JFilterInput', 'JFilterOutput', 'JEditor', 'JHTML', 'JHTMLBehavior', 'JHTMLContent', 'JHTMLEmail'
	, 'JHTMLForm', 'JHTMLGrid', 'JHTMLImage', 'JHTMLList', 'JHTMLMenu', 'JHTMLSelect', 'JPagination'
	, 'JPaginationObject', 'JPane', 'JPaneTabs', 'JPaneSliders', 'JParameter', 'JElement', 'JElementCalendar'
	, 'JElementCategory', 'JElementEditors', 'JElementFilelist', 'JElementFolderlist', 'JElementHelpsites'
	, 'JElementHidden', 'JElementImageList', 'JElementLanguages', 'JElementList', 'JElementMenu', 'JElementMenuItem'
	, 'JElementPassword', 'JElementRadio', 'JElementSection', 'JElementSpacer', 'JElementSQL', 'JElementText'
	, 'JElementTextarea', 'JElementTimezones', 'JElementUserGroup', 'JToolBar', 'JButton', 'JButtonConfirm'
	, 'JButtonCustom', 'JButtonHelp', 'JButtonLink', 'JButtonPopup', 'JButtonSeparator', 'JButtonStandard'
	, 'JInstallerComponent', 'JInstallerLanguage', 'JInstallerModule', 'JInstallerPlugin', 'JInstallerTemplate'
	, 'JInstallerHelper', 'JInstaller', 'JHelp', 'JLanguageHelper', 'JLanguage', 'JMailHelper', 'JMail'
	, 'JPluginHelper', 'JPlugin', 'JRegistryFormat', 'JRegistryFormatINI', 'JRegistryFormatPHP', 'JRegistryFormatXML'
	, 'JSession', 'JSessionStorage', 'JSessionStorageApc', 'JSessionStorageDatabase', 'JSessionStorageEaccelerator'
	, 'JSessionStorageMemcache', 'JSessionStorageNone', 'JSessionStorageXcache', 'patTemplate_Function_Sef'
	, 'JTemplate'
	, 'JAuthentication', 'JAuthenticationResponse', 'JAuthorization', 'JUserHelper', 'JUser', 'JArrayHelper'
	, 'JBuffer', 'JDate', 'JSimpleCrypt', 'JSimpleXML', 'JSimpleXMLElement', 'JString', 'JUtility', 'JObject'
	, 'JObservable', 'JObserver', 'JDocumentRenderer', 'JRequest', 'JEvent', 'JRegistry', 'JVersion');

	$geshi->add_keyword_group(10, 'color: #600000; border-bottom: 1px dashed gray;', true, $JClasses);
	$geshi->set_url_for_keyword_group(10, $uri.'{FNAME}');
}
